package com.diankangwo.factory.service;

import com.diankangwo.factory.entity.TdCollection;

import java.util.List;

public interface TdCollectionServices {

    int deleteByPrimaryKey(Integer id);

    int insert(TdCollection record);

    int insertSelective(TdCollection record);

    TdCollection selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TdCollection record);

    int updateByPrimaryKey(TdCollection record);

    /**
     * 按日查询收藏
     */
    List<TdCollection> queryByDay(String startTime, String endTime);
}
